package com.huawei.appgallery.wishwall.ui.cardkit.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout.LayoutParams;
import com.huawei.appgallery.wishwall.ui.cardkit.card.WishWallDetailContentCard;
import o.cdr;
import o.cih;
import o.ddq.c;

public class WishWallDetailContentNode extends cdr {
    public WishWallDetailContentNode(Context context) {
        super(context, 1);
    }

    public WishWallDetailContentNode(Context context, int i) {
        super(context, i);
    }

    public boolean ˊ(ViewGroup viewGroup, ViewGroup viewGroup2) {
        View inflate = LayoutInflater.from(this.ॱ).inflate(c.ᐝ, null);
        cih wishWallDetailContentCard = new WishWallDetailContentCard(this.ॱ);
        wishWallDetailContentCard.ˏ(inflate);
        ˊ(wishWallDetailContentCard);
        viewGroup.addView(inflate, new LayoutParams(-1, -2));
        return true;
    }
}
